package com.codingman.springbootdemo6;

import org.springframework.stereotype.Component;

@Component
public class Foo {

	public void msg() {
		System.out.println("msg method invoked");
	}

	public int m() {
		System.out.println("m method invoked");
		return 2;
	}

	public int k() {
		System.out.println("k method invoked");
		return 3;
	}

}
